package com.jjkj.environmental.environmental.di

import com.jjkj.environmental.environmental.ui.CheckActivity
import com.jjkj.environmental.environmental.ui.LoginActivity
import com.jjkj.environmental.environmental.ui.MainActivity
import dagger.Component
import javax.inject.Singleton

@Singleton
@Component(modules = [ActivityModule::class])
interface ActivityComponent {
    /**
     * 注入LoginActivity的依赖
     */
    fun inject(activity: LoginActivity)

    /**
     * 注入MainActivity的依赖
     */
    fun inject(activity: MainActivity)
    /**
     * 注入CheckActivity的依赖
     */
    fun inject(activity: CheckActivity)
}

